<template> 
      <div class="pop">  
	       <div class="head-line between"> 
				 <van-search
				     v-model="value"
				     show-action
				     placeholder="请输入搜索关键词"
				     @search="onSearch"
				     @cancel="onCancel"
				   >
				    <template #action>
				       <div @click="onSearch">搜索</div>
				     </template>
					 </van-search>
		   </div>  
		  <div class="list">
		  			  
		  </div>
	  </div>   
</template>
<style scoped> 
 .pop{padding:10px 10px 20px 10px;}
 .head{ font-size:20px;font-weight:600 }  
 .btn{ padding:5px 10px}
 .list{
	height:30vh;
	overflow: auto;
 }
</style>
<script>


export default { 
  props: {
    show: Boolean
  },
  data() {
    return { 
	  value:'',
	  pop:this.show
    }
  },
  methods: {
  	 choose(val){ 
  		this.cur = val; 
  	 }, 
  },
}
</script>
